#pragma once

#include "staticimage.hpp"
#include "filemanager.hpp"

class Player
{
public:
	KEG::StaticImage sprite;
	Player():x(0), y(0) {}
	bool Load(){ return sprite.LoadFullImage( KEG::Path( IMAGE, "pj" ) ); }
	void StartPosition( float x, float y ) { this->x = x; this->y = y; }
	float CurrentX() {return x;}
	float CurrentY() {return y;}
	void Render(float camX, float camY) { sprite.Render( x-camX, y-camY ); }
private:
	float x,y;
};